package com.ly.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.entity.SysUser;
import com.ly.param.UserParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gwq
 * @since 2022-06-07
 */
public interface SysUserService extends IService<SysUser> {

    SysUser getByUserName(String userName);

    String getUserAuthorityInfo(String userId);

    void clearUserAuthorityInfo(String userName);

    void clearUserAuthorityInfoByRoleId(String roleId);

    void clearUserAuthorityInfoByMenuId(String menuId);

    Page<SysUser> pageUser(UserParam userParam);
}
